package org.zfes.snowier.cloud.zbss.pmp.dto;
import java.io.Serializable;

public class PmpRequiresCreateDto implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public PmpRequiresCreateDto() {}

	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	private java.lang.Long projectId;
	
	@javax.validation.constraints.NotNull(message="父节点不能为空")
	  private java.lang.Long parentId;
	  private java.lang.Integer orderNum;
	@javax.validation.constraints.NotBlank(message="需求名不能为空")
	@javax.validation.constraints.NotNull(message="需求名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="需求名长度不能大于255")
	  private java.lang.String name;
	  private java.lang.Long chargeUserId;
	  
	  @javax.validation.constraints.NotBlank(message="需求详情能不为空")
		@javax.validation.constraints.NotNull(message="需求详情不能为空")
	  private java.lang.String detail;
	  
	  @javax.validation.constraints.NotNull(message="优先级不能为空")
	  private java.lang.Byte priority;
	//<-------------------------------------------->
	public PmpRequiresCreateDto setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}

	public PmpRequiresCreateDto setParentId(java.lang.Long parentId){
	 this.parentId=parentId;
	 return this;
	}
	public java.lang.Long getParentId(){
		return this.parentId;
	}
	
	public PmpRequiresCreateDto setOrderNum(java.lang.Integer orderNum){
	 this.orderNum=orderNum;
	 return this;
	}
	public java.lang.Integer getOrderNum(){
		return this.orderNum;
	}
	public PmpRequiresCreateDto setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}


	public PmpRequiresCreateDto setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	
	public PmpRequiresCreateDto setDetail(java.lang.String detail){
		this.detail=detail==null?null:detail.trim();
	 return this;
	}
	public java.lang.String getDetail(){
		return this.detail;
	}
	public java.lang.Byte getPriority() {
		return priority;
	}
	public PmpRequiresCreateDto setPriority(java.lang.Byte priority) {
		this.priority = priority;
		 return this;
	}



}
